package com.phpxiu.app.model.event;


import com.phpxiu.app.model.card.RoomCardInfo;

/**
 * 用户资料编辑事件
 * Created by WuJinZhou on 2016/6/2.
 */
public class UserEditEvent {
    public final static int UPDATE_HEAD=0x1;
    public final static int UPDATE_NICK=0x2;
    public final static int UPDATE_SEX=0x3;
    public final static int UPDATE_INTRO=0x4;
    public final static int UPDATE_BIRTH=0x5;
    public final static int UPDATE_LOVE=0x6;
    public final static int UPDATE_ADDRESS=0x7;
    public final static int UPDATE_JOB=0x8;
    private int opera=-1;
    private RoomCardInfo user;

    public UserEditEvent(int opera, RoomCardInfo user) {
        this.opera = opera;
        this.user = user;
    }

    public int getOpera() {
        return opera;
    }

    public void setOpera(int opera) {
        this.opera = opera;
    }

    public RoomCardInfo getUser() {
        return user;
    }

    public void setUser(RoomCardInfo user) {
        this.user = user;
    }
}
